package com.ydj.app.protocol.http.oldcms;

import com.ydj.framework.protocol.JsonBaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

import javax.validation.constraints.NotBlank;

@Getter
public class CmsCommonLoginReq extends JsonBaseRequest {
    @ApiModelProperty(value = "账号", required = true)
    @NotBlank(message = "缺少账号")
    private String username;

    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "缺少密码")
    private String password;


}